package name.huzhenbo.java.enums;

class Herb {

    public enum Type {
        ANNUAL, PERENNIAL, BIENNIAL;

    }

    private String name;

    private Type type;

    public Herb(String name, Type type) {
        this.name = name;
        this.type = type;
    }

    public Type getType() {
        return type;
    }
}
